﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GoogleOutlookCalendarSync
	{
	public partial class GoogleCredentialsDialog : Form
		{
		public string Username { get; private set; }
		public string Password { get; private set; }

		public GoogleCredentialsDialog()
			{
			InitializeComponent();
			}

		private void btnLogin_Click( object sender, EventArgs e )
			{
			this.Username = this.txtUsername.Text;
			this.Password = this.txtPassword.Text;
			this.DialogResult = DialogResult.OK;
			this.Close();
			}
		}
	}
